package com.dragon.refect.method;

/**
 * @author dragon
 * @since 2019/12/2
 */
public class Book {

    private String name;

    private Double price;

    private String author;

    private String brand;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    private void a(String name, Integer age) {
        System.out.println("private a()");
    }

    protected  void b() {
        System.out.println("protected b()");
    }
}
